package cn.com.css.taxInspection.workflow.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import cn.com.css.taxInspection.workflow.entity.WorkflowLogEntity;
import io.lettuce.core.dynamic.annotation.Param;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface WorkflowLogMapper extends BaseMapper<WorkflowLogEntity> {

    List<WorkflowLogEntity> querySjRztj(String startTime, String endTime);

    @Delete("DELETE FROM kf_jicha_helper.workflow_log WHERE id = #{id}")
    int deleteDataById(@Param("id") String id);

}
